//
//  Definition.h
//  VoiceClass
//
//  Created by caoxiaobo on 2017/9/1.
//  Copyright © 2017年 YRX. All rights reserved.
//


#import <Foundation/Foundation.h>

#define XFAPPID_VALUE    @"59a96716"

#define BDAPPID          @"10508735"

#define HEXCOLOR(hexValue)              [UIColor colorWithRed : ((CGFloat)((hexValue & 0xFF0000) >> 16)) / 255.0 green : ((CGFloat)((hexValue & 0xFF00) >> 8)) / 255.0 blue : ((CGFloat)(hexValue & 0xFF)) / 255.0 alpha : 1.0]
// [UIColor colorWithPatternImage:[UIImage imageNamed:@"globalbg"]]
#define CMNormalBg CMColor(230, 230, 240)

#define CMColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0]
#define CMAlphaColor(r, g, b, a) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:(a)/10.0]
#define CMRandomColor CMColor(arc4random_uniform(256), arc4random_uniform(256), arc4random_uniform(256))
